﻿<ion-view view-title="首页">
    <ion-content>
        <div class="list">
            <ion-item class=" item-icon-left applist" ng-repeat="homeApp in homeApps" type="item-text-wrap" ng-click="openPageModelSelf(homeApp.viewid,homeApp.id,homeApp.name)">
               
				<i class="icon {{homeApp.icon}} {{homeApp.color}}"></i>
                <span>{{homeApp.name}}</span>
				 <span class="badge badge-assertive" style="top:10px;padding:4px;4px;right:auto;left:35px;line-height:10px;" data-ng-if="homeApp.props > 0">{{homeApp.props}}</span>
            </ion-item>
        </div>

        <div class="list bulletin" style="clear:both;margin-top:10px;">
            <div class="item item-divider">
                <i class="icon ion-ios-bell-outline"></i>公告
            </div>
            <ion-item class="item-icon-right" type="item-text-wrap" ng-repeat="announce in announces" ng-click="openNoticesModal(announce.fullHead,announce.newsContent,announce.createDate)">
                <span>{{announce.fullHead}}</span>
                <i class="icon ion-ios-arrow-right icon-accessory "></i>
            </ion-item>
        </div>
    </ion-content>
</ion-view>
